added getTriangleFitness