Changing the return value to float
fixes #1: adding toJSON method so json will stringify correctly
Merge pull request #2 from scurker/bug/json-stringify

fixes #1: adding toJSON method so json will stringify correctly
Adding grunt config
Merge pull request #3 from scurker/dev

v0.1.4
version fix
Merge changes in from register-deps