How to multiply the same matrix with each row of a tensor? I wanted to find coordinates of a cube after two (X and Y) rotations without loops.