comments
more functions, comments. add tests for positive, negative tests
better equality comparison; tests for approximate comparison; inversion tests
more inv tests