Design of structures and foundations for vibrating machines