Regression

This implements regression algorithms