Piece-wise approximation for Gaussian Q -function and its applications