The Math behind Correlation and LSRL