Initial code implementing the vec-transpose operator and matrix

These have been tested in Python notebook but not yet via Eclipse, so
issues may exist.