feature: change mesh dimension

this commit implements and adds a test for
changing the dimension of an MDS mesh.
The target users are the fusion codes.