New handling of singular points
Fix integratebackward bug