genx for fitting surface structure