Made the variable "S" be available for tech unlock formulas, representing the science cost of the node.