Sane default for mat-files with incorrect slice order
Improved validity check, less likely to crash on junk data