Fixes to make dispersion index function work.
Changes to functions so sph_cc for all voxels can be evaluated.