replace eigen3 exp() call with shogun exp() call