edited some parameter names in Math class