Matrix export corrected, hopefully accurate now