Topology from Cosmology