add trends processors. compute slopes