A Gradient Descent Algorithm for evaluating the Karcher-Fréchet mean in the manifold of the symmetric positive definite matrices and its application in target detection