quick simplify computational logical vector template