Using Gravitational Waves from Black Holes and Galaxies to Understand the Expansion of the Universe