Cosmic Effects of Gravitational Waves