Estimation of the electrostatic effects in the LISA-Pathfinder critical test mass dynamics via the method of moments