function broadcastArrays (...arrays) {
  if (arrays.length === 0) {
    throw new Error('Insufficient number of arguments in function broadcastArrays')
  }
  if (arrays.length === 1) {
    return arrays[0]
  }
  const sizes = arrays.map(function (array) { return arraySize(array) })
  const broadcastedSize = broadcastSizes(...sizes)
  const broadcastedArrays = []
  arrays.forEach(function (array) { broadcastedArrays.push(broadcastTo(array, broadcastedSize)) })
  return broadcastedArrays
}
Broadcasts arrays and returns the broadcasted arrays in an array
@param  {...Array | any} arrays
@returns {Array[]} The broadcasted arrays