Add 6d facedir rotation prediction routine