Add the example of tabulate; change reduce and transformation
Merge branch 'radu' of https://github.com/uwsbel/Thrust-test into radu