Reshape weights to be consistent with octave result.
Labels offset as in octave.