weightedstuff: add routine for weighted variance 

following GSL implementation