updated flux. added monte carlo error estimation. Plane regressor uses inverse variance weights