License for cggd_rand.m by Cesar Nino