Modeling Tonality: Applications to Music Cognition - eScholarship