Mathematical framework for studying curved spaces and their intrinsic properties, used here to analyze neural representation structure.