Added MathHelper due to some stupid mod changing vanilla functions.