added method, and made the class a little bit safer (prevent orphean pointers)
fixed irmsd to work with the new cython interface