added Python implementation of Conditional Random Field by Nakatani Shuyo with minimal modification -- scipy.maxentropy is no longer needed as only a single function is used (logsumexp).