Paramter optimization for dilution curves