The dynamics of the loop current and shed eddies in a numerical model of the Gulf of Mexico