Added function to generate bitwise vectors for chords etc.