Removed unused intensity variable

Required for normalization as well as light/dark calculation.