Fixed Issue #10

Note.checkRep now asserts that pitch is not null.
Merge pull request #20 from lu16j/master

Fixed Issue #10