Add matrix scaling