Code for calculating coefficient of dispersion for zooplankton