add weightedcov function & test
fix wsum*2 bug in weightedcov()
Merge pull request #45 from kbarbary/master

add weightedcov function & test