he cost of necessary traveling, meals and lodging, the cost of rentals for space occupied in state-owned or state-leased buildings, the cost of maintenance and operation and the cost of all other actual, direct and indirect costs apportioned to the specific division, bureau or other unit and program involved excluding, however, ordinary expenses.