fixing rob's borken stinger_alg python wrapper