This is finally the answer to the NaN problem with the perplexity script