forgot to add Matrix class