Synchronization and Stabilization of Chaotic Dynamics in a Quasi-1D Bose-Einstein Condensate