Still trying to fix outer product vectorization
Still need to debug