map function errors

`.push()` adds to the end of an array
if the array has been created via `new Array( length )` then results will be offset by that `length`
Merge pull request #12 from PixnBits/patch-1

map function errors