isdiag function

Diagnostics for ctsem importance sampling