Add CoP calculation

- Add sum, divide, subtract operations
- Change datasets API
- Simplify dataset calculation
Merge pull request #61 from MastodonC/feature/cop

Feature/cop