Add CoP calculation

- Add sum, divide, subtract operations
- Change datasets API
- Simplify dataset calculation