Made new variable type Matrix for use with matrixes and adjusted all functions to accept the new variable and utilize it. Still need to do some work with initializing the matrices and allocating new space with functions. Also may want to use SMatrix* rather than SMatrix.

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Changed use of SMatrix to pointers and on the stack. Also adding variable handling functions for creating and freeing matrices.

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Merge branch 'feature-matrix_struct' into develop