IOS UIImage processing functions using the vDSP/Accellerate framework for speed.