Solved Rotate Image Problem