Fixed potential error in coulomb energy, and maybe segfaults for small molecules...