Now fit mu in mean-field calculation is working, for both zero and non-zero delta, but there are problems with non-zero delta