proper formula for lux calculation