calculateEvalue function

calculates E-value