Made changes to triangle_facts to take into account feedback from previous pull request(s)