Added support for context specific error probabilities