Two-dimensional modeling of reverse biased PN structures