fixed bug in triangle/ray collision