Source: https://www.umoncton.ca/umcm-sciences-mathstat/files/umcm-sciences-mathstat/wf/wf/pdf/les_gps_0.pdf