Coupling-matrix approach to the Chern number calculation in disordered systems