Fixed standard deviation in vertex/edge average

I don't know if there was a reason for the previous expression, but it did not correspond to the standard deviation of the property. Please let me know if you think I'm wrong.