bugfix: wrong sign in potential!
small changes, cleanup