Restructured code and renamed functions.
Functions for symmetric matrices and some matrix-vector operators.
Updated to use new function names.