suppressing the unused param xc from most rem_xxx ans adapting consequently the computation of the trig functions