Added comments and made minor changes

Mainly worked on improving comments throughout (except for plots
section). Also made some minor changes, including fixed an error that
was bypassing input file names (always assuming default values
instead), and changed the function to always output plots and data to a
specific directory (that can be changed via an input).