Fix memory issues from valgrind

Add valgrind test for surv-lik

removed some spammy print outs

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
Clean up tests

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
Found cause of failures

Likelihood cache seems not to be invalid. Atleast B and C are -nan.
See printouts...

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>