Add check for circular logic in parameter definitions.
Closes #70