Replaced all tabs with 4 spaces.
Improved spherical light sampling.