debugging likelihood calculations