Implement some of the equation solver