pwm2vec function

Convert Probability-Weighted Moment object to a Vector