fixed bug that caused nsga and mpi-nsga to fail at the end.

What are a ninja's favourite type of shoes?

Sneakers!