Changed getVariables method in AbstractGraph to prevent from returning null.
If there no current VariableSet, we create and add one and return it.
Added new input/output keys for memory bounds.