added some types for intersection settings and cleaned up some tpyos
cleaned up some typos with respect to comments and variable names
added an intersector type for curves
added curveleafvisitor as a friend class to shading point
made intersect and converge methods as static and updated the test file also'