Removed oldnumeric imports and cleaned namespace in patterngenerator.py
Removed oldnumeric imports and cleaned namespace in image.py
Removed oldnumeric imports and cleaned namespace in patternfn.py