I am having a hard time when finishing my script of obtaining the calculated variables to analyze after completion; I have made a simple implementation below that represents