Removed references to another package.

- Also added matrix.py.