Adding import calls to the EMAlg code in the SWIG interface