Move all distributions to c++
roxygenise
Merge branch 'cpp'
re-coded distribution functions in C++ for speed