Solve many bugs in impact model and derivative #99 (closed) . Add cost model for impact #75 (closed) .