added cost-sensitive feature updates + moved n_updates into Weights class