[PD] Advice: best way to do matrix-rotation in PD