Computing the optimal keyboard through a geometric analysis of the English language