Using Linear Algebra for machine learning in the calculation of movie ratings