bug fixes for define_limits() and beam_interpolation()
define_limits() and beam_interpolation() now works for time and beam limits