Computing the velocity distribution created by a jet emerging from a narrow slit in a planar wall