Added some polynomial regression code which uses 'matrix'