Added NumpyFile array reader and tests on scale and offset in PatternGenerator

Added NumpyFile array reader
Added tests on scale and offset in PatternGenerator's __call__ before doings ops.