Update gen_database.m
Merge pull request #1 from roshanraj/patch-1

Update gen_database.m