Add pareto front ratio functionality.
Add various comments.