Calculates solute-solvent interaction energies.