gdmtrain now works, example provided in example.jl