Add a bias option for selection operations

Issue #2560