example 6.6 now with control to change between klein und radialWave