Documentation ready for curves.R