try to decompose matrix