why are you using -idiff? Is it to get a normal? If so, `slope_normal = -1/reference_slope`