corrected variance to give the proper output in statistics class