Differential equations solver