fied type on yt, yt_before and added g_function
adding inference

Merge branch 'master' of github.com:jperla/ConditionalRandomFields.jl