forgot to actually do the inner product. now J is faster