Add coord repeat algos
Add the raddist example

Also fix the examples makefile to compile the lib only once
Make sure to use the origin for the bounds