Issue 169 : better material parsing
Added a check to set to null in MRF scene the material that are in the .msf but not used by any shapes. This may be removed later if we ever plan to use on-the-fly material setting/editing.
This is extended to kernel compilation: only the kernel of material which are used are compiled.
Should fix issue #169 (closed) .
Edited by MURRAY David