Remove spline2d class, and update remaining files with references to it

This addresses issue #815.