Fixed spelling misstake
Changed some variables to refrences
Fixed spelling
Removed old file for serial regression and clarified a variable name