Removed -1 from returned num_segments in ascii_powerspec