added correct rchi calculation for joint fit and started implementing confidence interval plot, reorganized bit fit output