add linear scaling factors a, b