Replace nans, nans_like, infs, infs_like with filled functions
Fix doc string
Add tests for filled_like function
Use commin method to compare array values
Use more idiomatic way of None-check