Added matrices
Fixed for loops and added comments in vector
Fixed 'setIdentity' in matrix
Added error checking in 'buffer util'