Matrix lib

add vector and matrix type variable