removeColumnsByFunc function

Remove rows or column by function