added removenan method, kwargs not an option, tests pasing