Added output of data to iddata object on close in record_beluga