added foundation::isize_t as a synonym for the non-standard ssize_t type.
significantly optimized the quasi-monte carlo routines.
minor style tweaks.
fixed multiple importance sampling of image-based lighting when the number of environment samples is less than 1.