switch to image:io::mat for reading mat files