LNKMatrix: added helper methods for shuffling matrices