rotated arrays