wrote 'mean' for ProbabilityDistributionPiecewiseLinear