Calculating charge transfer using the Bader analysis method in VASP