Allow dynamic updating of ECAN stimulus and diffusion parameters

@sebastianruder FYI, this is related to a discussion we started previously.