Added a charge function

Added a charge wrapper for Python. I called it `calccharges`, but I'm open to any naming scheme. Thoughts?