Rotate grid along beam

This allows for the user to align the grid along the beam. Currently only rotations about the z/w axis are supported. The input file sets the angles and origin.