Added various word length algorithms.