fixed rounding error in arraysplit
Merge pull request #22 from bjarthur/ifloor

fixed rounding error in arraysplit