Add Flip and Rotate

Added a Flip and Rotate function based on the Scalr API

add type hints