Analysis of electromagnetic waves on a dielectric rod immersed in a plasma including a discussion of diagnostic applications