variance function

Compute the moments of a probability distribution