fix the matrix decomp that populates the 'scale' boxes