Using dynamic input allocation for elongation control at the Frascati Tokamak Upgrade