Added binary search to creating a demand matrix in createScenario. Still needs work.