Added a MathHelper class