copy of Infer.Net framework