Curvature In Musical Time: A Systematic Approach To Codifying Changes In Tempo