Spatial

Updated compser.json and fixed unit test
Hey @kwattro sorry I have been away for 2 weeks so just seeing this now. Anything I changed was because I was branching off of this project as after speaking to @jadell he didn't have time to review and advised I just forked and continued using my fork, so I am for now as I am actively using this library in one of my own projects.

If we do get some people to review my changes of course I will go through all changes with them and happy to change everything back.