fix bug about RBF; add posterior in output and anlaysis