Added support to one-dimensional NumPy arrays.
The helloworld.py demo now exactly reproduces the results of its C++ counterpart.