finished stats calcs and added linear regression a correlation to the display