Refactor Triad to use Chord typeclass
Make calculateTriad work with inversions