Portable simulation framework for diffusion MRI