Removed namespace
Changed naming from permute to rotate