A numerical tool for the frequency domain simulation of large arrays of identical floating bodies in waves