Margin variable

Closes #76.