Implements basic euler integration method for comparison purposes