Fix some dumb bugs
Use .at instead of [].
Provides bounds checking with minimal overhead
Ranged always recomputes range
More S3 methods for ranged. Closes #3
Summarise caches ranges. Closes #4