Code written for purposes of  Machine learning Coursera.org course, Octave