SimpleMath class