only estimate gradients when necessary in npreg :)
Merge branch 'master' into npRmpi