Added a function that calculates on the fly the pareto front, given the data via an array