%% Calculate whether a certain number of lights are pointing at a point