Some bug fix and enabling the RegJacobian interface