What are the four factors in determining a class rate and cost to a shipper?