Implement functions needed for linear algebra

Implements three interval functions required for linear algebra to Just Work.
There is a test of the example from Moore in the new lin_alg_tests.jl file.