http://work.netxforge.com/issues/402
fix computation of quantities and computation state.