Added GameMath class