added some utility routines for dealing with Miller-Bravais directional indices