fix getdata by removing extra rangetoarray function
Merge pull request #37 from TysonKerr/bugfixes

fix getdata by removing extra rangetoarray function