Added assert to utils to try and catch NaNs.
Added assert to utils to try and catch NaNs.

MichalKononenko/python-qinfer,whitewhim2718/python-qinfer,csferrie/python-qinfer,ihincks/python-qinfer,Alan-Robertson/python-qinfer,QInfer/python-qinfer