added greedyVariance

yay