How would you evaluate the trade-off between rider wait time and driver dispatch distance when designing a matching algorithm?