- Fixed matrix output
- Output to separate files working