Adapted the calculation of the capillary diffusion coefficient.