Remove deletion as json.dump overwrites anyways.
Write the data files to their respective directory.

Create the directories if they do not exist.
Remove unused import.
Merge pull request #7 from Tanner/matrix-fix

Matrix Generation Fix