Updated docs and ccomments for S-function wrappers for library.