update find_cw

* rename to get_bw_weight
* return the appropriate bw_weight
* raise ValueError if not found