Spreading resistance calculations for graded structures based on the uniform flux source boundary condition