fixed a minor error in the setup of initial range
Merge pull request #17 from ajy/master

fix to minor bug