testing the interface between the Cubature package of S. Johnson and the Armadillo c++ library