Code

Make curvature work again by fixing a minor omission