Add reset_modal_pitches method, simplify some code, improve perldocs.
Must reset_modal_pitches.