Adds the basics of the potential math