hopefuly improved speed of vectorized addFunctions for all orders<=5