Support float wavelengths in XRD calculator (allows for electron and neutron
diffraction analysis as well).