Smarter assertion in cam02ucs

Make that pesky assertion in cam02ucs pass even when arrays contain nans.