Inlined operator==, operator<.
Renamed is_ground() to ground().
Introduced comparators.

There appears to be some overhead, at least when debugging is used.
Renamed some comparators.