Just pick from the matrix rather than doing if tests
Pre-divide srad and lrad, pass them through as a uniform.
Pass the inverse (??? i.e. 1.0 / NUM_LIGHTS) value through as a #define to the shader to avoid calculating it per fragment. Means I can avoid two divides within some nested loops.
Oops, fix that last commit!