did scale for matrix