On the fundamental solutions-based inversion of Laplace matrices