Now fixed checking results vs. mat file