Update on the code to use InputOutputArrays, not dup var names, documentation.