finish adding matrix, vector, and image