Implemented Note, DNA counts and Mastery calculation (fixes #8, fixes #9, fixes #10).