MONTE CARLO SIMULATION OF P-TYPE HPGe DETECTORS – THE DEAD LAYER PROBLEM