fix data race in evaluation of negative log marginal likelihood derivatives
Merge pull request #1755 from votjakovr/feature/gp_refactoring

Fix data race in evaluation of negative log marginal likelihood derivatives