Calculation is coming up as NaN

This occurs if A2J is trying to calculate a number that has not been set to a value by the user. To fix this issue, before the user sets any of the used variables set the variable to some acceptable default value.