Just dynamic matrix creator, freeing everyting... so far.