add rotate by flip matrix - done