raytracing + comments

started raytracing + comments + performance increase