Added splatter constructor to vector classes as suggested in #47