Parameter optimization for surface flux transport models