Locally defined principal curves and surfaces | Synapse