Cooling of a One-Dimensional Bose Gas.