simultaneous differential equations solver