drop legacy code and add release makefile
fix data race in evaluation of negative log marginal likelihood derivatives