added rotated sprite function and elipse function