Tue 18 Nov 2014

Part way through tidying piecewise_linear_1d.