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.
Added some comments to the code to make it a little easier to follow, there will be more comments to come.
Merge remote-tracking branch 'upstream/master'
Modify the ajax data set to post.