Fast Parameter Estimation in Loss Tomography for Networks of General Topology