Added wk_material structure to wavefront.c