Refactors encodeFloat and flex args
Refactors font matrix operations