implemented different x-error types for fitting

Authored by sgerlach on Nov 14 2017, 9:19 PM.