Removed ImageProcesingHelper and updated UIImage+Resize category to handle its methods. Solved memory leak problems with some classes.
Optimized the learning for using the less memory, storing everything in the same float buffer. Hardcoded the maximum buffer size.