Merge pull request #628 from Cadair/diff_rot

Diff rot
Add transform function to GenericMap
attempt at cube rerot