Analytical modeling of a self-magnetically insulated plasma focus diode