Implement NumericDatum

- fixed some unit tests.
- added asNumeric method to number datums.