use two sided erf for linear prior