matlab code for linear fit