THE ESTIMATION OF RAIL COST FUNCTIONS