Use either pfiltering or viterbi depending on command-line args