This should still be changed to just pull all the differential functions from each equation.