adding batched dot product test
combining into tpsopt package