Update to the calculation of the diffraction patterns, before the support grid was incorrect.