loading matrices and solve on click added