collapsing transform styles hopefully to the matrix style