Added code to change the amplitude of the light, so that it fades to the new level...