move Nonzero docstring from the function to the class
add 1D test for nonzero
add flatnonzero and tests
add nonzero_values and test, also update nonzero docstring to reflect new indexing behavior