Provides a method to compute a sample variance incrementally.