Added contain and cover options. Closes #30.