Add MathHelper class.