The effect of grading the atomic number at resistive guide element interface on magnetic collimation