Change to Numpy templating system

PR to trigger Travis CI and ``coveralls``.