modules created, documentation added to dispersion.py