added few matrix and vector functions
removed a function