Added partial preprocessing tutorial
More preprocessing doc work.
Updated input file generation doc.
Updated the CLI input file generation function.
Small fixes.