various tools for chord and scale calculations