pp6calculator now uses a two level interface, and can produce random energies