figuring out numpy dot