Added flip methods for vertical and horizontal mirroring

I just needed this functionality... so I've implemented it according to your code style and now I'm contributing it for the original repo.

Thanks and Cheers!