Find the mass of a ball B given by \(x^2+y^2+z^2 \le a^2\) if the density at any point is proportional to its distance from the z-axis.