Statistics of random integral matrices