Some type of working calculation for the likelyhood and loglikelyhood tasks