Implementation of standard MML Linear Regression function, etc