Start porting techno code

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Implement a few glenz matrix functions

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>