Renames to free to closely match the C API and avoid any confusing with other parts of the Java API
Uses int instead of float

* I reviewed the node-gitteh code and this is what they use