Variance of a Nonstationary Random Process