As proposed in #8 , there is a problem in estimateVar function that can easily be solved with the proposed change in the fork.