Update optimizedModel.h

fix position calculate error when autoCenter!=1