Changes temp and press to arrays
Call get_corr_func in main