Fix variance/deviation math error