an unstable ruby implementation of welford's algorithms