Setting twisted QZ interface

This pull request sets the interface for the new twisted QZ algorithm, see #8.