calc_spec_diff function

Calculate the sum of squares differences between two mrs_data objects.