Make default trace function method rather than nested function
Make default trace function method rather than nested function

Ensures that the trace function is pickleable and so can be piped to a 
separate process when running multiple chains using multiprocessing

matt-graham/hmc