Commit3

Added code for setting the original matrix; changed some comments