fix docstrings, add nargs to sec and csc, other edits