original codes for paper "Scalable Matrix Inversion Using MapReduce"