Removed remove_if_not, changed the complete function object design, and other changes and bug fixes
Various bug fixes and changes