Fixed more references, and unit tests for PiecewiseCurve are working!