Optimization of calibration data with the dynamic genetic algorithm