Removed code no longer being used in smat
Moved template refs from smat.cpp to smat.hpp.  Part  1 of 2 changes.

This is a partial update: does not compile.
Moved smat templates to smat.hpp, part 2 of 2.

This version should compile.