Codegenerator for linear spline approximation

Generates code for Python, LUSTRE and Matlab.