print to find cause of nans