Source: http://w3.uch.edu.tw/ccchang50/ebook_introduction to gps.pdf