Added ray-triangle intersection function, need fixing.