Added functions to select based on cost_l2_scale
Added functions to select based on cost_l2_scale

Karel-van-de-Plassche/QLKNN-develop,Karel-van-de-Plassche/QLKNN-develop,Karel-van-de-Plassche/QLKNN-develop