Some refactoring of the submesh module
Description
Some refactoring of the submesh module. Mainly changing the arguments of the functions, plus some cleaning. Also split the array storing the submesh point coordinates and distance to the center.
Edited by Micael Oliveira