Created a photoresistor model that uses a lux input (as a voltage) to calculate the resistance