Smarter history format

- use trends tables
- reduce history to Rational only
- also, fail in model if a is something nonsensical