Use include of projection.h correctly
Change structure to use potentials by value in an array, rather than pointers.
Sprikle a bunch of const around
In drawFromCumulative, use <= to avoid rare case where we fail to find any element
Merge branch 'experimental/potentials-by-value' into develop