Fixed #784 (ProblemInjector should be changed to read variable names instead of indexes for input and target variables)