RadialProfile class to make persisted bases available in C++

Also updated tests and visualization code in tractor.py to
make use of the new class.