Console app now dumps matrices in .mat format