Gravar-mail: A Generalized Learning Based Framework for Fast Brain Image Registration