check_beam_specs function

Check that beam.specs satisfies all necessary conditions