Fix compute mass
I have also added a commit that ensure compatility with recent metis library (required to test this branch on my laptop)
I have also added a commit that ensure compatility with recent metis library (required to test this branch on my laptop)