Added determination of preceding and following phones.
Made all the other necessary changes in the rest of the class for preceding and following phones and phonemes.