Add tranformation result into mat file