The Method of the Extremal Metric