I edited the the parameters for function transform in the algorithms.hpp Please revise the python interface