ad option to chose unit or error model for saxs.
correct version for pixel distortion ... ready for cythonization