Rank Up and Down votes using Wilson Confidence Interval Calculator in PHP