Adding vector_configuration, fixing index calculation ofr cyclic and block_cyclic distribution policies