Added support for solving 2nd order diff eqns at reg points