Change the calculateLux function to use floating-point math so it can range under 1 lux