A small collection of static maths helper functions for Haxe.