added a code to calculate LPEF coefficients