Added an equals() and generic hashCode() functions to the MathFunction class, auto-generated from the Eclipse tools.