added uniform dist matrix method to MatrixUtils