Fixed #3. Rotation added.