Dynamic optimization using a wavelet based adaptive control vector parameterization strategy