rewrote B vector indexing functions, placed SIMD connection in generate loop. Almost there.