Harmony Explained: Progress Towards a Scientific Theory of Music