Updated documentation and formatting for Equation.java