move singleVariableHandeling to aaSystem
changed reduceKownVariables to take System as a ref param