Gravar-mail: Finding the direct optimal RNA barrier energy and improving pathways with an arbitrary energy model