First try to solve matrix