Added comments for matrix()