Parameter identification of a nonlinear model: replicating the motion response of an autonomous underwater vehicle for dynamic environments