Control And Optimization Of Wave-Induced Motion Of Ramp- Interconnected Craft For Cargo Transfer