Added lux calculation and output
Only cycle the correct number not +1