convert some more kernel examples to CSVFile
MAP Inference for factor graph