Debug outputs from matlab code for simulating shading