Update triangles.f95