A study of O-Methylation of flavonoid compounds