Adding a new method

Method to get image rotation has been added. Copyright notices have been
added.