Expanded to being able to calculate combined variance