added signed curvature. build no longer broken