False Alarm on real time calculation. I caused it myself.

I changed the function to not reuse the variable that is created outside the function to calculate the value then return the value to the variable outside the calculation. In other words I renamed the variable in the calcBaseVariable() and forgot to get the value later with baseVariable = calcBaseVariable(). I used this calcBaseVariable();.

Sorry for that complaint.