Added comment to equations
Added module functions, moved some stuff from plotting to there. Updated plotting modules.
also changed plot_overlap to work with new functions module
Updated readme