Successive Matrix Generation

Wrote a method for generating a new matrix using previously calculated matrices stored locally