Implement weighted moving average (pass array of weights)
as described here

http://en.wikipedia.org/wiki/Exponential_smoothing#The_weighted_moving_average

cf http://stackoverflow.com/questions/9621362/how-do-i-compute-a-weighted-moving-average-using-pandas
