Fixed bug in MAF()

Also updated vignette.