Changing the float comparison for filled value to np.allclose to enable Nan masking for float32 as well. Also added test cases for float64, and float32