reimplemented variance to be calculated incremental using Knuth´s and Welford´s approach
returning `undefined` rather than `NaN` to comply with d3.mean as @mbostock suggested