Curve integration seems about right, finally...