Made some changes to c++ unit tests to accomodate AUTOLAZY. whereZero and whereNonZero can now work with lazy data. There are some double frees if AUTOLAZY is turned on so don't use it yet.