Comparison of methods for calculating atomic shielding factors