Clean up code style
added comments explaining half-precision float conversion