Implemented capsule shape.

Closes #13