Cleanup

- Allow index_to_one_hot/one_hot_to_index to number bits in reverse (MSB is bit zero)
- Add a bunch of comments
Add _t to ieee754_binary32 to make consistent with conventions