Added prototypes for most matrix operations and tests, and began testing.