added importance sampling for diffuse