Fix utils.apply_cut test
Add paper TPM to PyPhi TPM function and tests