Added logical any and all (similar to numpy)