rewrote this code so makes plots for feature error dist with 10, 20, . . ., 100 measurements