Consider if a light is defined before defining the light equation
Merge pull request #370 from aarbelaiz/volren-light-fix

Consider if a light is defined before defining the light equation