More operations, more functions

-Added a function to get the dot product of two vectors
-Added a function that returns the row of a matrix
-Added a function that returns the column of a matrix
-Added a function to perform matrix multiplication
-Added var in front of counter variables in for loops to make them local