added slope differences and plotting
committing b/c they told me to