Added support for rotated cameras and added functions for controlling white balance and exposure.