[
top
|
up
]
fits a principal curve in arbitrary dimension
get.lam
principal.curve