add comments to convert_to_mat script