Bins reintroduced

- Bins reintroduced to RBM definition
Bug fix in rbm_copy

- missed weight costs and added bins