Some revision on boundary condition consideration

- ENH : enhance the method dealing with boundary condition
- FIX : the ACTM_ASSERT uses wrong condition in previous version, corrected in this version
- ENH : some revision of SCTM_ASSERT
- CHG : rename of some class and the members