Simplified spp calculation code
Removed deprecated code from ImageInfo
Removed unused variables