Added look at generation method to matrix