Floating breakwaters; a theoretical study and preliminary design of a dynamic wave attenuating system