added helper namespace management macros
first draft of matrix templates

A first dragft was added to repo. Matrices will be implemented in this
library as templates to make them independent from the data type.

The main goal is to implement matrices with very basic operations but
with great flexibility. The aim is to create generic matrix data types.