Improved to rotate to plane of sky frame