Analysis of rubble mound breakwaters