Fixing mistakes in GLM and LSE and forcing DistMatrix to complain if an attempt is made to increase a dimension of a view.