matrixfit: in dmatrixChisqr, do not forget first contribution to derivative