finish baum algorithm step 1, init pi, aplha, beta.