Export and import now uses LAML matrices instead of homemade solution