Accurate Multi-segment Probability Density Estimation Through Moment Matching