file contains weave-functions in order to include undulator influence on beam dynamics