Removed dependency on MathHelper.py