modified variance function: