Implemented constructors accepting vectors.
(closes #20)