Code refactoring

Shader now uses arrays of light informations.