Add variance.

This PR adds the variance operator and corrects the mean and standard deviation operators which incorrectly handled integer data i.e. integer truncation by `dtype` was occurring.