Added linkUnits() function. Closes #20, although it doesn't work correctly yet.