NF: arclength parametrization and cosine representation are working as described in Moo K. Chung (2010)