Array variance utility