Robust Joint Estimation of Galaxy Redshift and Spectral Templates using Online Dictionary Learning — arXiv2