Electron transport in InAs nanowires and heterostructure nanowire devices