Enhancements to datasets

- Add energy cost fields to profiles.
- Update datasets API
- Change the pipeline and calculations.
- Fix bug in padding
- Tidy up test ns.
- Use dirty dates for datasets.
Acted on @otfrom 's comments.
Merge pull request #381 from MastodonC/feature/datasets-with-profile-fields

Enhancements to datasets