Broken attempt to impliment 2xgpu
Add support for masking the diffraction data