added getters and stuff to Triangle