fit_sqrt also with squared values
improve printing of D values (tensor)