Triangle.h modified