Refactor vMAT_fread and vMAT_fwrite to take vMAT_Array parameters.