add some linalg methods for integral matrices
Merge pull request #2926 from daviddelaat/integerlinalg

add some linalg methods for integral matrices