adds scaling of Mat_