[incomplete] Added floats, need to rewrite the C bindings with FFI.