Now test, for change of matrix, Copyright.

Cached data now only changed if origina matrix is changed. Test take
into account machine approximation to real numbers. Added copyright
notice and more comments. Still needs improvements, but satisfies
Assignment 2 specs.