Update Pitch.java
Merge pull request #13 from shannonkao/master

Fixed issue #3 (pitch)