removed redundant comments
typo fix
orientation detector
added comment describing orientation transformation
rotates and changes orientation to "1"
gemfile updates