How Diesel Hydraulic locomotives work