Added distance, memory converter for python