Check Nan Values In Numpy Array Initialization And Declaration