Changes to plots. Added function that saves constants as text file in results folder.