add new parameters to irf_ebsp()
format code
adjust to new output of irf_ebsp()