Implementation of classic Machine Learning algorithms in Matlab