More fixes to the RawLogLikelihood which was depending badly on a global variable :(
small additional fix