Gravar-mail: A penalized matrix decomposition, with applications to sparse principal components and canonical correlation analysis