Add basic functionality for calculating equations.