Call c++ from Java using SWIG, class hierarcy to test multiple BLAS libraries