Changed the formula for QFE calculation