Gravar-mail: Ab initio and template-based prediction of multi-class distance maps by two-dimensional recursive neural networks