fix command/ wiggle/ variance

Please post to the list, not to me.

I suggest you write the values of your variables to the screen
with thermo output, and verify that the formulas you have defined

trace out a circle. It’s your job to debug your script.

Steve