Refactored BCH1D, BCH2D, and knowledge update drawing of BCModel