Added non gaussian likelihood function (mark5). Still beta testing...