exposing SX(DMatrix) to swig haskell