addLastRowsJacobian changed to use Modes and AddRowsJacobian!