Added the method "setColor" for triangle. Accurate version setColor2 is
bugged, currently using the inaccurate version.