An Iterative Histogram-Based Optimization of Calibration Tables in a Powertrain Controller