Added preconditions to the rest of the functions.
Added two elementary matrix operations.
Updated to 1.4
Added a few tests