Fix bag plot and functional bag plots tests.

Use precomputed table of densities to avoid precision differences
on some machines.
Also remove unuseful normalization step in the plot and algorithm.

Change-Id: Ifb28b82b276ee93b66f4ddf8f4375f7b3b465b94
Merge topic 'FixBagPlotsTests' into master

5d42650d Fix bag plot and functional bag plots tests.