how to find the cost of production of atta