add documentation for the splines module