mod_td function

Apply the Modulus operator to the time-domain MRS signal.