fixed segmentation fault bug
Merge branch 'master' of github.com:IanZhang1990/Global-Illumination