Successive Matrix Generation

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