fixed shape of the return from fit_nonzero_parameters