Replaced motility_plot to take classes.
Refactored sweep to work with new motility_plot.