Updated compute_qats.pro, fixing a bug.