added a likelihood atom class

and also some import tidying in the EP.py file