add eigen values, boolean indexing, and readtxt