An Efficient Algorithm for Fault Location in Shipboard Power Systems