find_centroid is now one line (using sp.mean), but will eventually also accept other ways of finding centroid (center of mass, inscribed sphere).
find_centroid is now one line (using sp.mean), but will eventually also accept other ways of finding centroid (center of mass, inscribed sphere).

TomTranter/OpenPNM,stadelmanma/OpenPNM,PMEAL/OpenPNM