Gravar-mail: Understanding β-hairpin formation