(DSP) renamed mac.cf to Mac.cf, made code more beautiful
(arith) corrected type
(dsp) updated tests