Lab 3 implemented, some sigsegvs appear from time to time, caused by BLAS, for large matrices