update nvidia cg toolkit to v3.1

TODO: investigate man page issues

Closes #4024