one of the matrices may have rotation. can you pre-multiple them and decompose resulting matrix?