Adding ambient elements to DAEs. Closes #18.