Cleaned up Beam_Size_Measure

Refined script so that it works and works better than it would have
before.