working tests for curvature.py
re-organize curvature.  seems to work in spd.  hooray!
curvature really working, but for possible double-norming
fixed it so that PD has correct polarity (-/+)