add acceptance rate to print.post()
add calc_qi() function