Added collision algorithm to Triangle