Fix unfold for third order pruning
Merge pull request #369 from JohannesPfeifer/master

Bugfix in third order perturbation