Math library for the Tranquility Engine