Software-in-the-loop optimization of actuator and sensor placement for a smart piezoelectric funnel-shaped inlet of a magnetic resonance imaging tomograph. (15th January 2021)