Modelling of mathematical functions based on lines and curves. @author David Cooke @version $Revision: 1.2 $