Algorithm modification for allowing variance calculation