added warnings for invalid input corrections; fixed issue with changing working directory before loading params.csv
updated examples for command line function; cleaned things up