Getting the note matrix