Remove useless variable

It's never used anywhere and I don't see a reason for it
Fixed some IPB 3 bugs
Fixes the last things for IPB 3
Merge pull request #126 from JN-Jones/module-ipb3

IPB 3 Module