Merge branch 'dij' into 'master'

Implement API for not diagonal Dij terms, implement it for UPF.

See merge request !37
2 jobs for 0.1.0 in 1 minute and 29 seconds (queued for 1 second)