Added linear regression

Class now calculates both exponential and linear regression, as well as
R^2, correlation and standard error for each.