Solve_matrix_and_cache_solution

replace "mean" with "solve"; test