more fixes on build system
starts new matrix interface:
templating for uint16, uint32, float, ... matrix implementations