Supporting Functions for molecule objects.

USAGE:

molecule.to.ptable(basis, cost.fun="entropy") 
waveindex.to.molecule(i, basis) 

These are supporting functions for molecule objects. They are not indended to be called directly by users.