ENH:  extract rotation parameters from transformation matrix