Fixed bugs, began ray-tri intersection