A model of the inversion process in an arterial inversion experiment