Updated accessor for matricies to now be templated, updated scalar functions to return a pointer instead of modifying both the base matrix and the returned. New test for template programming...again.
Merged changes into local branch.