Gravar-mail: Generalized L2-Divergence and Its Application to Shape Alignment