fix the flops calculation formula