StochMan should support an N-dimensional manifold discretization in order to apply graph-based solvers for computing geodesics.