Fixed bug with 'omp parallel for collapse' usage, added several member functions to DistMatrix which simplify local entry manipulation (thanks to Edward Vigmond for the suggestion), and removing several unused variables.