* better types in ismember; tempaltes * split ismember -> ismember_rows * reduce and clean up templates