For some reason the adaptive mass function isn't outputting a single array for the bin_x values to the data files.