Split main matrix (A) onto 3 matrixes (L,D,U).