Adding margins to images.

Closes #3.