more work on cython acceleration for likelihood of iid samples