implemented method clone
implemented Vector. added functionality to Matrix