Simple linear regression implementation in Octave