Failure Recovery of HLR Mobility Databases and Parameter Optimization for PCS Networks