Package for computing MI in 2-dimensional rings