Calculate multipole moments by real space method BBH: Qc and Px SSH: Px reference: https://journals.aps.org/prb/abstract/10.1103/PhysRevB.100.245135 https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.80.1800 https://topocondmat.org/w8_general/invariants.html