Bug fix: Typo in diffraction.cpp