Added functionality to chose AVX or SSE, because for AVX some preprocessing is required
for the moment, which in principle should not be there.