Implemented formula_fitness