fixed some bugs in feature_selection. code now works with costs included and excluded