Sensor improvements

Some simplification of inSensorShadow implementation and parameter cleanup of getIntersectionColor.