updated feature filtering in binarymodelflow. to be made separate module.