Added try loop to QI1 calculation.