Portrait Orientation

Added a dataRotation function to decode.