Text this: The Universal Generating Function in Reliability Analysis and Optimization