The extension of the Multiple Sphere T Matrix code to include multiple plane boundaries and 2-D periodic systems