Added rotation option

Can't believe this actually worked!

Half my pics were sideways, this saves me a load of post-processing faff.