Numerical simulation of a partially anisotropic electron distribution function in a pulsed discharge with a hollow cathode