Decreased brightness threshold, pass all points to ray calculation, modularized the pont of cloest approach finding process, generally added more comments, combined commands to make compound statements