Changed variable names to match input file and added option to not automatically rescale range