Added trim(adjustl()) to strings in the print_parameters function to reduce whitespace