Added equation code and error testing