Finished splitLinks.m. Reflected necessary changes in convertBeatsToScenario.m.