Added triangle intersection. Still not working perfectly.