FIX NDVar.residuals():  > 2 dimensions