Cleaned chord generation a little