Function to store variance and return deviation on list.