So `vector` is a 1d array right? Could you rename it to `array` instead and somehow rephrase the docstring? I find `vector` a bit confusing.