Fixed a small bug for coupnting MFLOPS.