Fixed BUG in variance calculation for model summary plot