Requirements file added
Improved rotation algorithm
Updated .gitignore