Solved bug in LM_interface.h, added minor improvements to ngram-ppl-calc and cmdOpt