Added automatic wavelength calculation and d-spacing GUI elements,
d-spacing display not working yet due to inconsistent plot axes.