fix some stuff

- the function signature in the docs was not the same as the code
- added an option for specifying a base point to set the voxels from
- added a test.js that can be required into a game for easy testing

also I think a scale factor option would be nice, any ideas on how to implement that? I want a huge bunny