an mcmc for inverting matrices - a toy project in python