Make inheritance for random point generator.
Merge branch 'master' into drawing-octave