Gravar-mail: Structure based function prediction of proteins using fragment library frequency vectors