Changed the code so that variables (and how they are computed) are shown. I also added functionality for the user to redifine the potential function. There is a but with this because I currently need a global variable to this. I will be looking into solutions.