allow compute of single value

If we put '5' inside of compute, it returns a number instead of an ExpressionNode. Simple fix is to create an ExpressionNode from that number.
Looks like it will behave correctly, but seems like a more consistent solution would be to wrap the primitives in the first place via modifyCalcGenerationCode and not have to special case here.