This adds support for coated diffuse materials, along with a few other bugfixes (notably fixing a shear that was being applied to rotations and some dielectric fixes that remove fireflies).
Also fixes an issue where we were allocating vectors FAR too large than necessary which was causing stack overflows for large numbers of samples. Darn missing parenthesis...
This adds support for coated diffuse materials, along with a few other bugfixes (notably fixing a shear that was being applied to rotations and some dielectric fixes that remove fireflies).