Removed printf statement
Added logging system for mean intensity issues
Changed reporting