divided x-axis of rate panel by 1000; made num.cols an argument because older stats output has fewer columns than newer output