Performance improvement

The `Parameter` class defines `__radd__` and similar. Because of the way `__radd__` works the previous performance was hundreds of times slower. I am not sure if anything can be done about this at this point. This PR simply changes the order of the operands.