Updates to meas_error and mod_error

Added frequency analyzer