PlesioGeostroPy
Invert a block diagonal matrix
The matrix is assumed to be square matrix, and the block_seg gives the segmentation of the blocks on the diagonal.
Not yet implemented.