Please, Is there any documentation for this? Also, which variant of the principal curve is being implemented here ?