Experimenting with batched_dot for the multiplication step. So far this seems to be slower.