remove the ElogLik.cpp
minor style fix
modify the base class to support variational methods