- save matrix