added initialOrientation; corrected TransformToOrientation to handle initial device orientation
added initialOrientation
removed debug code
removed triangles for orientation testing