A fast parameter estimator for large complex networks