Better dataset validation.

- Update calculation's rules.
- Update tests.
- Add validation feedback alerts.

Fixes #482