Planar averaged electrostatic potential for the density functional theory code VASP (Version 5)