BF: ElementArrayStim initialization

the setWithOperation function in attributetools gave an error when initializing a stimulus with either None as one of its arguments or a list or a tuple instead of a numpy array. I changed the function a bit such that it handles None as well as converts the input value to an array.