Made Cornering work well enough to allow the simulations to run, don't know if it works