Band transport and localised states in modelling the electric switching of chalcogenide materials