Revert to using a lot of doubles and conversion between them for a lot of things just like Ae-2222s version.
Abandoning this for now due to the precision issues :(