vectorize []-method

Solves issue #11