Add nonlinearity to Newmark method