The topology of matrix groups