add unit/integrted tests for dpc

Wouldn't it make more sense to do this as 
```python
-2j * (kappax * tx * (1-w) + kappay * ty * w)
```

and then validate w in [0, 1] with a default of .5?