added NaN test for singular_values