Fixed some spelling errors in docstrings and added examples for assignchoicenames and setup