Distribution of matter in the universe