fixed lots of bugs, inc. reversed feature selection