avx implemented. Not tested yet