X-Ray scattering factors, Compton profiles, and shell corrections from numerical atomic wavefunctions