Added find to imaging.
Numpy is apparently deprecating array == None as a test of whether the
array itself is not None (i.e. now it will go elementwise). This could
break a bunch of my codes, so I've fixed the parts I think it will
break.