changing default linearisation function