Adding python swig interface