updated .gitignor and added geninv.R