Astronomers measure the spin of a supermassive black hole