Tire model plotting code added
generalize optimization exception