Add weight to reliability, cost, weight

- Maybe we need to normalize weight
- Bug at calculating cost