Extended the triangle with access to the vertices, and updated the Object interface to get the centroid, which is needed for BVH
merged with master