ms_error method
calc_output_deltas