Calculating EPS