Made macro for binary search of tweak arrays
More helpful error when a flag argument is missing