Camelcase to underscores, float to double
Merge pull request #5 from locksten/refactor

Camelcase to underscores, float to double